package com.fyb.middleware.test.infrastructure.dao;

import com.fyb.middleware.db.router.annotation.DBRouter;
import com.fyb.middleware.test.infrastructure.po.User;
import org.apache.ibatis.annotations.Mapper;

/**
 * @Author：MR.FANG
 * @name：IUserDao
 * @Date：2025/6/10 下午2:09
 */
@Mapper
public interface IUserDao {

    @DBRouter(key = "userId")
    User queryUserInfoByUserId(User req);

    @DBRouter(key = "userId")
    void insertUser(User req);
}
